import uuidfrom fastapi import APIRouter, Depends, UploadFile, Form, HTTPException, Filefrom sqlalchemy.orm import Sessionfrom typing import Optionalfrom app.db.database import get_dbfrom app.services.v2 import get_all_sozluk, get_sozluk_with_id, create_sozlukrouter = APIRouter(prefix="/api/v2", tags=["sozluk"])@router.get("/sozluk/all")def get_sozluk_all(db: Session = Depends(get_db)):    return get_all_sozluk(db)@router.get("/sozluk/{id}")def sozluk_with_id(id: int, db: Session = Depends(get_db)):    return get_sozluk_with_id(id, db)